package com.campus_information_portal.service;

import com.campus_information_portal.entity.ProjectCondition;
import com.campus_information_portal.util.Message;
import org.springframework.stereotype.Service;

/**
 * @author 20155884 王晓阳
 * @className : FinishProjectService
 * @Description
 * @create 2018/05/31  10:10$
 **/
@Service
public interface FinishProjectService {
    /**
     * @param
     * @Description 学生查询已同意的立项
     * @author 20155884 王晓阳
     * @methodName
     * @returnType
     * @create 2018/5/31 10:11
     **/
    Message findAgreedProject(ProjectCondition projectCondition);

    /**
     * @param
     * @Description 老师查询已同意的立项
     * @author 20155884 王晓阳
     * @methodName
     * @returnType
     * @create 2018/5/31 10:11
     **/
    Message findAgreedProjectByTea();

    /**
     * @param
     * @Description 结项申请，更新状态为5，正在审核
     * @author 20155884 王晓阳
     * @methodName
     * @returnType
     * @create 2018/5/31 16:00
     **/
    Message updateFinishProject(ProjectCondition projectCondition);

    /**
     * @param
     * @Description 条件查询社会实践
     * @author 20155884 王晓阳
     * @methodName
     * @returnType
     * @create 2018/5/31 16:30
     **/
    Message queryProject(ProjectCondition projectCondition);

    /**
     * @param
     * @Description 根据id查看社会实践
     * @author 20155884 王晓阳
     * @methodName
     * @returnType
     * @create 2018/6/1 14:39
     **/
    Message queryProjectById(ProjectCondition projectCondition);
}
